import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/circle/getList',
    method: 'get',
    params
  })
}

export function deleteById(id) {
  return request({
    url: `/circle/deleteById/${id}`,
    method: 'delete'
  })
}

export function update(data) {
  return request({
    url: `/circle/update`,
    method: 'put',
    data
  })
}

